package com.uubx.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.validation.constraints.NotEmpty;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author wyy
 * @Date 2020/12/31 16:20
 * @Version 1.0
 */
@ApiModel(description = "保单详细单子的数据")
public class PolicyListVo {


    @ApiModelProperty("保单id")
    private Long id;

    /**
     * 保单号码
     */
    @ApiModelProperty("保单号码")

    private Long number;
    /**
     * 保单起始时间
     */
    @ApiModelProperty("保单起始时间")
    private Date startTime;

    /**
     * 保单结束时间
     */
    @ApiModelProperty("保单结束时间")
    private Date endTime;
    /**
     * 保单状态 0为失效,1为退保,2为保障中
     */
    @ApiModelProperty("保单状态 0为失效,1为退保,2为保障中")
    private Integer status;
    /**
     * 险种
     */
    @ApiModelProperty("险种")
    private String insuranceName;

    /**
     * 保险购买价格
     */
    @ApiModelProperty("保险购买价格")
    private BigDecimal price;
    /**
     * 险种状态  0为交强险,1为商业险
     */
    @ApiModelProperty("险种状态  0为交强险,1为商业险")
    private Integer type;
    /**
     *  车主姓名
     */
    @ApiModelProperty("车主姓名")
    private String name;
    /**
     * 证件号
     */
    @ApiModelProperty("证件号")
    private String idCard;
    /**
     * 电话号码
     */
    @ApiModelProperty("电话号码")
    private String phone;
    /**
     * 地址
     */
    @ApiModelProperty("地址")
    private String address;
    /**
     * 证件类型
     */
    @ApiModelProperty("证件类型")
    private String idType;
    /**
     * 车牌号
     */
    @ApiModelProperty("车牌号")
    private String carNumber;
    /**
     * 车架号
     */
    @ApiModelProperty("车架号")
    private String chassisNumber;
    /**
     * 发动机号
     */
    @ApiModelProperty("发动机号")
    private String engine;
    /**
     * 座位数
     */
    @ApiModelProperty("座位数")
    private Long seat;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getNumber() {
        return number;
    }

    public void setNumber(Long number) {
        this.number = number;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getInsuranceName() {
        return insuranceName;
    }

    public void setInsuranceName(String insuranceName) {
        this.insuranceName = insuranceName;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getIdType() {
        return idType;
    }

    public void setIdType(String idType) {
        this.idType = idType;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public String getChassisNumber() {
        return chassisNumber;
    }

    public void setChassisNumber(String chassisNumber) {
        this.chassisNumber = chassisNumber;
    }

    public String getEngine() {
        return engine;
    }

    public void setEngine(String engine) {
        this.engine = engine;
    }

    public Long getSeat() {
        return seat;
    }

    public void setSeat(Long seat) {
        this.seat = seat;
    }
}
